package com.lsnu.wzy.po;

import lombok.Getter;
import lombok.Setter;

@Setter@Getter
//医生类
public class Doctor {
	private Integer id;
	private String dID; 
	private String dName;
	private String dSex;
	private Integer dAge;
	private String department; 
	private String dTel;

	public Doctor() {
		super();
	}

	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getdID() {
		return dID;
	}


	public void setdID(String dID) {
		this.dID = dID;
	}


	public String getdName() {
		return dName;
	}


	public void setdName(String dName) {
		this.dName = dName;
	}


	public String getdSex() {
		return dSex;
	}


	public void setdSex(String dSex) {
		this.dSex = dSex;
	}


	public Integer getdAge() {
		return dAge;
	}


	public void setdAge(Integer dAge) {
		this.dAge = dAge;
	}


	public String getdTel() {
		return dTel;
	}


	public void setdTel(String dTel) {
		this.dTel = dTel;
	}


	public Doctor(Integer id, String dID, String dName, String dSex, Integer dAge, String department,String dTel) {
		super();
		this.id = id;
		this.dID = dID;
		this.dName = dName;
		this.dSex = dSex;
		this.dAge = dAge;
		this.department = department;
		this.dTel = dTel;
	}


	public Doctor(String dID, String dName, String dSex, Integer dAge, String department,String dTel) {
		super();
		this.dID = dID;
		this.dName = dName;
		this.dSex = dSex;
		this.dAge = dAge;
		this.department = department;
		this.dTel = dTel;
	}


	@Override
	public String toString() {
		return "Doctor [id=" + id + ", dID=" + dID + ", dName=" + dName + ", dSex=" + dSex + ", dAge=" + dAge
				 + ", department=" + department + ", dTel=" + dTel + "]";
	}
	
	
}
